Example of writing own function with Arduino: tutorial 17